package com.starbaba.weixin.model;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * @author Yukinomiu
 * @version 1.0
 */
public class WeixinMenuVO implements Serializable {

    private static final long serialVersionUID = -519565257790631880L;

    private String displayName;
    private String type;
    private String param;
    private ArrayList<WeixinMenuVO> subList;

    public WeixinMenuVO() {
    }

    public WeixinMenuVO(String displayName, String type, String param, ArrayList<WeixinMenuVO> subList) {
        this.displayName = displayName;
        this.type = type;
        this.param = param;
        this.subList = subList;
    }

    @Override
    public String toString() {
        return "WeixinMenuVO{" +
                "displayName='" + displayName + '\'' +
                ", type='" + type + '\'' +
                ", param='" + param + '\'' +
                ", subList=" + subList +
                '}';
    }

    public String getDisplayName() {
        return displayName;
    }

    public WeixinMenuVO setDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    public String getType() {
        return type;
    }

    public WeixinMenuVO setType(String type) {
        this.type = type;
        return this;
    }

    public String getParam() {
        return param;
    }

    public WeixinMenuVO setParam(String param) {
        this.param = param;
        return this;
    }

    public ArrayList<WeixinMenuVO> getSubList() {
        return subList;
    }

    public WeixinMenuVO setSubList(ArrayList<WeixinMenuVO> subList) {
        this.subList = subList;
        return this;
    }
}
